package com.gopay.common.cps.manager.gp.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.cps.dao.gp.CpsGpContractLogDAO;
import com.gopay.common.cps.manager.gp.CpsGpContractLogManager;
import com.gopay.common.domain.cps.gp.CpsGpContractLog;

/**
 * P2P签约协议信息日志
 * @CpsGpContractInfoManagerImpl.java
 * @author lizheng
 * @2014-4-18 下午3:29:44 www.gopay.com.cn Inc.All rights reserved.
 */
@Service("cpsGpContractLogManager")
public class CpsGpContractLogManagerImpl implements CpsGpContractLogManager {
    @Resource(name="cpsGpContractLogDAO")
    private CpsGpContractLogDAO cpsGpContractLogDAO;

    @Override
    public CpsGpContractLog get(Serializable id) {
        return cpsGpContractLogDAO.find(CpsGpContractLog.class, id);
    }

    @Override
    public List<CpsGpContractLog> get(Map<Object, Object> paraMap) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<CpsGpContractLog> getAll() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public CpsGpContractLog getContractLog(String contractId, String inTxnCD){
        return cpsGpContractLogDAO.getContractLog(contractId, inTxnCD);
    }
}
